package com.hdax.dm.auth.code;

import lombok.Getter;

public enum CodeEnum {

    USER_VCODE_WITHOUT_TIMEOUT("1002","同一手机号60秒内只能发送一次验证码"),
    USER_VCODE_NOT_EXISTS("1003","请重新获取验证码"),
    USER_VCODE_INVALID("1004","验证码不正确"),
    USER_PHONE_NOT_EXISTS("1005","手机号不存在");

    CodeEnum(String errorCode, String message){
        this.errorCode = errorCode;
        this.message = message;
    }


    @Getter
    private String errorCode;
    @Getter
    private String message;
}
